home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
scope
/
001-025
/
scopedisk1
/
btoatob
/
btoatob.doc
< prev
next >
Wrap
Text File
|
1995-03-18
|
1KB
|
43 lines
Subject: btoa/atob documentation
To: usersoftware
Text:
*** BTOA --- ATOB *** Page 1
NAME
btoa, atob - binary to printable ASCII
SYNOPSIS
btoa
atob
DESCRIPTION
_B_t_o_a is a filter that reads anything from the standard
input, and encodes it into printable ASCII on the standard
output. It also attaches a header and checksum information
used by the reverse filter _a_t_o_b to find the start of the
data and to check integrity.
Example:
1>btoa <epson >epson.asc
_A_t_o_b reads an encoded file, strips off any leading and
trailing lines added by mailers, and recreates a copy of the
original file on the standard output. _A_t_o_b gives NO output
(and exits with an error message) if its input is garbage or
the checksums do not check.
Example:
1>atob <epson.asc >epson
AUTHOR
Paul Rutter (modified by Joe Orost)
FEATURES
_B_t_o_a uses a compact base-85 encoding so that 4 bytes are
encoded into 5 characters (file is expanded by 25%). As a
special case, 32-bit zero is encoded as one character.
/* EOF */